//
//  TTMusicMyPageSixCollectionViewCell.m
//  TTMusic
//
//  Created by yanghuiyan on 16/3/31.
//  Copyright © 2016年 cpy. All rights reserved.
//

#import "TTMusicMyPageSixCollectionViewCell.h"

@implementation TTMusicMyPageSixCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.pic = [[UIImageView alloc] init];
        _pic.userInteractionEnabled = YES;
        self.pic.frame = CGRectZero;
        [self.contentView addSubview:self.pic];
        
        self.label = [[UILabel alloc] initWithFrame:CGRectZero];
        self.label.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:self.label];
        
    }
    return self;
}

- (void)layoutSubviews {
    [super layoutSubviews];
    self.pic.frame = CGRectMake(35, 20, 50, 50);
    self.label.frame = CGRectMake(15, 80, 90, 20);
    
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
